package site.syksy.qingzhou.setting.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author Raspberry
 * @since 2021-01-04
 */
@Data
@TableName("s_setting_dic_item_list")
public class DicItemListDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @TableField
    private String nextId;

    @NotBlank
    @TableField
    private String dicId;

    @NotBlank
    @TableField
    private String name;

    @NotBlank
    @TableField
    private String code;

    @TableField
    private String customize;

    private Boolean fixed;

}
